/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   Module Name          : com.yaodian100.ec.tmall.entity.AddrMapping
   Module Description   :

   Date Created      : 2011/11/18
   Original Author   : cut7man
   Team              : yaodian100
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   MODIFICATION HISTORY
   ------------------------------------------------------------------------------
   Date Modified       Modified by       Comments
   ------------------------------------------------------------------------------
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
package com.yaodian100.ec.tmall.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.yaodian100.core.common.entity.BaseEntity;

/**
 * @author cut7man
 * 
 */
@Entity
@Table(name = "EC_ADDR_MAPPING")
public class AddrMapping extends BaseEntity {
	@Id
	@GeneratedValue(generator = "assigned")
	@GenericGenerator(name = "assigned", strategy = "assigned")
	@Column(name = "OID")
	private Long oid;
	@Column(name = "DOMAINSRC_TYPE", length = 255)
	private String domainsrcType;
	@Column(name = "YD_PROVINCE", length = 40)
	private String ydProvince;
	@Column(name = "YD_CITY", length = 40)
	private String ydCity;
	@Column(name = "YD_DISTRICT", length = 40)
	private String ydDistrict;
	@Column(name = "OUT_PROVINCE", length = 40)
	private String outProvince;
	@Column(name = "OUT_CITY", length = 40)
	private String outCity;
	@Column(name = "OUT_DISTRICT", length = 255)
	private String outDistrict;

	/**
	 * @return the oid
	 */
	public Long getOid() {
		return oid;
	}

	/**
	 * @param oid the oid to set
	 */
	public void setOid(Long oid) {
		this.oid = oid;
	}

	/**
	 * @return the domainsrcType
	 */
	public String getDomainsrcType() {
		return domainsrcType;
	}

	/**
	 * @param domainsrcType the domainsrcType to set
	 */
	public void setDomainsrcType(String domainsrcType) {
		this.domainsrcType = domainsrcType;
	}

	/**
	 * @return the ydProvince
	 */
	public String getYdProvince() {
		return ydProvince;
	}

	/**
	 * @param ydProvince the ydProvince to set
	 */
	public void setYdProvince(String ydProvince) {
		this.ydProvince = ydProvince;
	}

	/**
	 * @return the ydCity
	 */
	public String getYdCity() {
		return ydCity;
	}

	/**
	 * @param ydCity the ydCity to set
	 */
	public void setYdCity(String ydCity) {
		this.ydCity = ydCity;
	}

	/**
	 * @return the ydDistrict
	 */
	public String getYdDistrict() {
		return ydDistrict;
	}

	/**
	 * @param ydDistrict the ydDistrict to set
	 */
	public void setYdDistrict(String ydDistrict) {
		this.ydDistrict = ydDistrict;
	}

	/**
	 * @return the outProvince
	 */
	public String getOutProvince() {
		return outProvince;
	}

	/**
	 * @param outProvince the outProvince to set
	 */
	public void setOutProvince(String outProvince) {
		this.outProvince = outProvince;
	}

	/**
	 * @return the outCity
	 */
	public String getOutCity() {
		return outCity;
	}

	/**
	 * @param outCity the outCity to set
	 */
	public void setOutCity(String outCity) {
		this.outCity = outCity;
	}

	/**
	 * @return the outDistrict
	 */
	public String getOutDistrict() {
		return outDistrict;
	}

	/**
	 * @param outDistrict the outDistrict to set
	 */
	public void setOutDistrict(String outDistrict) {
		this.outDistrict = outDistrict;
	}

}
